<template>
  <view class="w-title">
    <view class="name">
      <slot name="name"></slot>
    </view>
    <view class="custom">
      <slot name="custom"></slot>
    </view>
  </view>
</template>

<script setup></script>

<style lang="scss" scoped>
.w-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30rpx;

  .name {
    color: $font-color-1;
    font-size: 32rpx;
    font-weight: 600;
  }

  .custom {
    font-size: 27rpx;
    color: $font-color-3;
  }
}
</style>
